#ifndef FESCREENREADER_H
#define FESCREENREADER_H
#include "fecore_global.h"
#include "fedom.h"
#include <QIODevice>
#include <QDir>

class FECORE_EXPORT FeScreenReader
{
public:
	FeScreenReader(QIODevice *device);
	~FeScreenReader();
	
	QDir resourceBaseDir() const;
	void setResourceBaseDir(const QDir &);

	QString errorString() const;
	int errorLine() const;

	bool read(FeDOMDocument &document);

private:
	Q_DISABLE_COPY(FeScreenReader)
	class FeScreenReaderPrivate *d;

};

#endif // FESCREENREADER_H